//
//  ColorCommon.swift
//  ban
//
//  Created by mba on 16/8/11.
//  Copyright © 2016年 mbalib. All rights reserved.
//

import Foundation
import SwiftUI

public enum MBAColor: String {
    case com_background,
         com_black,
         com_grey,
         com_white,
         com_gblue,
         com_ygreen,
         com_gblue1,
         com_textBg,
         com_textBg_second,
         com_secondText,
         com_placehoder
    
    var string: String {
        return self.rawValue
    }
    var color: Color {
        return Color(self.rawValue)
    }
    var uicolor: UIColor {
        return UIColor(named: self.rawValue)!
    }
}
